﻿using Newtonsoft.Json;
using Pay.Core;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO
{
    /// <summary>
    /// 拓垦商城专题商品记录表
    /// </summary>
    [Serializable]
    [JsonObject(MemberSerialization.OptOut)]
    public class token_shop_subject_product_dto {

        /// <summary>
        /// 记录Id
        /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 专题Id
        /// </summary>
        public long subject_id { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public long product_id { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int sort { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 商城专题
        /// </summary>
        public virtual token_shop_subject_dto subject { get; set; }

        /// <summary>
        /// 产品
        /// </summary>
        public virtual product_dto product { get; set; }

    }

}
